<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>预览问卷表</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="icon" href="imags/22.jpg">
    <style>
        .card {
            margin-top: 2rem;
        }
    </style>
</head>
<body style="background:url(/imags/2.jpg); background-size:100% 100% ; background-attachment: fixed">
    <div class="container">
        <div class="row">
            <div class="col-sm"></div>
            <div class="col-sm">
                <div class="card" style="width: 50rem;opacity: 0.7;">
                    <div class="card-header">
                        <div class="row">
                            <div class="col-sm-4 d-flex justify-content-start">
                                <a href="/">
                                    <button type="button" class="btn btn-secondary btn-sm" data-toggle="modal"
                                    >返回主页</button></a>
                            </div>
                            <div class="col-sm-4 d-flex justify-content-center">
                                <p><h1>预览问卷</h1></p>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm"></div>
        </div>

<!-- 显示添加的问卷 -->
<div style="padding: 10px;width: 800px;margin-left: 130px;height: 500px;background-color: rgba(226, 212, 212,.6);margin-top: 30px;">
    <div style="font-size: 22px;text-align: center;font-weight: bold;">{{name}}</div>
    <div style="text-align: center;">{{remark}}</div>
    <ol>
        {% for item in optionList%}
        <li style="padding: 8px;">
            <span>{{item.name}}</span>
            <span>
                <select name="score" id="">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                </select>
            </span>
        </li>
        {% endfor %}
    </ol>
</div>
    





    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script>

    </script>
</body>
</html>